﻿using SmartCity.Shared;

namespace CommonManagement
{
    /// <summary>
    /// 更新用户信息结果
    /// </summary>
    public class UserUpdateResponse : ActionResponse<UserUpdateResponse>
    {
        /// <summary>
        /// 未找到
        /// </summary>
        /// <param name="userId"></param>
        public static UserUpdateResponse NotFound(long userId)
        {
            return Failed(ResponseCode.未找到资源, $"用户 id = ${userId} 不存在！");
        }
    }
}